﻿<ws:ApplicationView x:Class="MultiMasterView.Modules.Core.TextEditor.TextEditorView" x:ClassModifier="internal" x:TypeArguments="TextEditor:ITextEditorViewModel"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                    xmlns:ws="clr-namespace:Creventive.Wpf.ShellFactory.Workspace;assembly=Creventive.Wpf.ShellFactory"
                    xmlns:TextEditor="clr-namespace:MultiMasterView.Modules.Core.TextEditor"
                    mc:Ignorable="d"
                    d:DesignHeight="300" d:DesignWidth="300"
                    Title="Text Editor">
	<Grid>
		<Grid.RowDefinitions>
			<RowDefinition Height="Auto" />
			<RowDefinition Height="*" />
		</Grid.RowDefinitions>
		<ToolBar>
			<Button Content="Open" Command="{Binding OpenCommand}" />
		</ToolBar>
		<TextBox IsReadOnly="True" Grid.Row="1" HorizontalScrollBarVisibility="Visible" VerticalScrollBarVisibility="Visible" Text="{Binding Text, Mode=OneWay}" />
	</Grid>
</ws:ApplicationView>